<?php

namespace App\Events;

use App\Listeners\OrderCreatedAsyncNotification;
use Hhxsv5\LaravelS\Swoole\Task\Event;

class OrderCreatedAsyncEvent extends Event
{
    protected $listeners = [
        OrderCreatedAsyncNotification::class
    ];

    public $orderInfo;
    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct($orderInfo)
    {
        $this->orderInfo = $orderInfo;
    }
}
